<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>set和map</title>
</head>
<body>
    
    <script>
        // 数组去重
        let s = new Set(["a","a","b","c","a"]);
        console.log(Array.from(s));

        {
            // set map

            let s = new Set();


        }
        
    </script>
</body>
</html>